#ifndef GOTODIALOG_H
#define GOTODIALOG_H

#include <QDialog>
#include <QIntValidator>
#include <QMessageBox>
namespace Ui
{
    class GoToDialog;
}

class GoToDialog : public QDialog
{
    Q_OBJECT

public:
    explicit GoToDialog(QWidget *parent = nullptr);
    ~GoToDialog();

signals:
    void goToLine(QString);

private slots:
    void on_GoToButton_clicked();
    void on_CancelButton_clicked();
public slots:
    void receiveData(int value);

private:
    Ui::GoToDialog *ui;
    void showMessage(QString title);
};

#endif // GOTODIALOG_H
